class Sender(object):
    def __send_msg(self):
        print("发送了一条信息")

    def send_msg(self, money):
        if money>10000:
            self.__send_msg()


s = Sender()
s.send_msg(12000)